﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UI : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        UIManager.instance.ShowPanel("GameLoginPanel",this.transform);
    }


    private void Update()
    {
        if (Input.GetKeyDown(KeyCode.Space))
        {
            UIManager.instance.HidePanel("GameLoginPanel(Clone)");
        }
    }
}
